<template>
	<view>
		<view class="game_indexs" :style="{'height':height}">
			<view class="start">
				<view class="span" @click="ksdt">
					<span>开始答题</span>
				</view>
			<!-- 	<view class="span">
					<span>一般</span>
				</view>
				<view class="span">
					<span>困难</span>
				</view> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				height:'1000px'
			}
		},
		onLoad() {
			let self=this
			uni.getSystemInfo({
			  success: function (info) {
				  self.height=info.windowHeight+'px'
			  }
			});
			
		},
		methods: {
			ksdt(){
				uni.navigateTo({
					url:"/pages/games/jiandan/jiandan"
				})
			}
		}
	}
</script>

<style lang="scss">
.game_indexs{
	width: 100%;
	position: relative;
	background-size: 100% 100%;
	background-image: url(https://www.leedong.top/img/start.jpg);
}
.start{
	width: 100%;
	position: absolute;
	bottom: 80px;
	.span{
		width: 45%;
		background-color: #48803E;
		border: 10px solid #B3D292;
		margin: auto;
		height: 48px;
		border-radius: 50px;
		margin-top: 20px;
		text-align: center;
		line-height: 48px;
		color: #E5FEAD;
		font-size: 35rpx;
	}
}
</style>
